import request from '@/utils/request'

// 客户业务统计
export function customerStatistics(data) {
  return request({
    url: '/logi/sys/business/statistics/customer',
    method: 'post',
    data:data
  })
}

// 客户业务统计导出
export function customerStatisticsExport(data) {
  return request({
    url: '/logi/sys/business/statistics/customer/export',
    method: 'post',
    data:data,
    responseType: 'blob'
  })
}

// 项目业务统计
export function projectStatistics(data) {
  return request({
    url: '/logi/sys/business/statistics/project',
    method: 'post',
    data:data
  })
}

// 项目业务统计导出
export function projectStatisticsExport(data) {
  return request({
    url: '/logi/sys/business/statistics/project/export',
    method: 'post',
    data:data,
    responseType: 'blob'
  })
}

// 网点业务统计
export function branchStatistics(data) {
  return request({
    url: '/logi/sys/business/statistics/branch',
    method: 'post',
    data:data
  })
}

// 网点业务统计导出
export function branchStatisticsExport(data) {
  return request({
    url: '/logi/sys/business/statistics/branch/export',
    method: 'post',
    data:data,
    responseType: 'blob'
  })
}

// 货物业务统计
export function transportStatistics(data) {
  return request({
    url: '/logi/sys/business/statistics/transport',
    method: 'post',
    data:data
  })
}

// 货物业务统计导出
export function transportStatisticsExport(data) {
  return request({
    url: '/logi/sys/business/statistics/transport/export',
    method: 'post',
    data:data,
    responseType: 'blob'
  })
}



